package com.demo.autotest.database.mapper;
import com.demo.autotest.database.domain.CommonParam;
import com.demo.autotest.dto.CommonParamDTO;
import com.demo.autotest.request.QueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper   // 定义Dao层
public interface CommonParamMapper {

     void saveParam(CommonParam commonParam);

     void delete(String id);

     List<CommonParamDTO> getCommonParamList(QueryRequest request);

     CommonParam getParamByName(String projectId, String name);
}
